package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 系统考核规则对象 asses_rule_system
 *
 * @author ruoyi
 * @date 2024-04-22
 */
public class AssesRuleSystem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id主键 */
    private Long id;

    /** 序号 */
    private Integer oederNum;

    /** 考核规则id */
    @Excel(name = "考核规则id")
    private Long assesRuleId;

    /** 考核类别 */
    @Excel(name = "考核类别")
    private String assesType;

    /** 考核项目 */
    @Excel(name = "考核项目")
    private String assesProject;

    /** 考核标准 */
    @Excel(name = "考核标准")
    private String assesStandard;

    /** 规则类型 0:参加会议 1:累计会议时长 2:参加活动类型 3:参加活动时长 4:累计活动时长 5:提交总结类型 */
    @Excel(name = "规则类型 0:参加会议 1:累计会议时长 2:参加活动类型 3:参加活动时长 4:累计活动时长 5:提交总结类型")
    private String ruleType;

    /** 条件1 */
    @Excel(name = "条件1")
    private String firstCondition;

    /** 条件判断 0:大于 1:小于 */
    @Excel(name = "条件判断 0:大于 1:小于")
    private String conditionJudge;

    /** 条件2 */
    @Excel(name = "条件2")
    private String secondCondition;

    /** 循环模式 0:周 1:月 2:季 3:半年 4:年 */
    @Excel(name = "循环模式 0:周 1:月 2:季 3:半年 4:年")
    private String cyclicalPattern;

    /** 加分/扣分 0:加分 1:扣分  */
    @Excel(name = "加分/扣分 0:加分 1:扣分 ")
    private String modified;

    /** 分值 */
    @Excel(name = "分值")
    private String assesScore;

    /** 删除标志（0删除 1存在） */
    private String delFlag;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getOederNum() {
        return oederNum;
    }

    public void setOederNum(Integer oederNum) {
        this.oederNum = oederNum;
    }

    public Long getAssesRuleId() {
        return assesRuleId;
    }

    public void setAssesRuleId(Long assesRuleId) {
        this.assesRuleId = assesRuleId;
    }

    public String getAssesType() {
        return assesType;
    }

    public void setAssesType(String assesType) {
        this.assesType = assesType;
    }

    public String getAssesProject() {
        return assesProject;
    }

    public void setAssesProject(String assesProject) {
        this.assesProject = assesProject;
    }

    public String getAssesStandard() {
        return assesStandard;
    }

    public void setAssesStandard(String assesStandard) {
        this.assesStandard = assesStandard;
    }

    public String getRuleType() {
        return ruleType;
    }

    public void setRuleType(String ruleType) {
        this.ruleType = ruleType;
    }

    public String getFirstCondition() {
        return firstCondition;
    }

    public void setFirstCondition(String firstCondition) {
        this.firstCondition = firstCondition;
    }

    public String getConditionJudge() {
        return conditionJudge;
    }

    public void setConditionJudge(String conditionJudge) {
        this.conditionJudge = conditionJudge;
    }

    public String getSecondCondition() {
        return secondCondition;
    }

    public void setSecondCondition(String secondCondition) {
        this.secondCondition = secondCondition;
    }

    public String getCyclicalPattern() {
        return cyclicalPattern;
    }

    public void setCyclicalPattern(String cyclicalPattern) {
        this.cyclicalPattern = cyclicalPattern;
    }

    public String getModified() {
        return modified;
    }

    public void setModified(String modified) {
        this.modified = modified;
    }

    public String getAssesScore() {
        return assesScore;
    }

    public void setAssesScore(String assesScore) {
        this.assesScore = assesScore;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("assesRuleId", getAssesRuleId())
            .append("assesType", getAssesType())
            .append("assesProject", getAssesProject())
            .append("assesStandard", getAssesStandard())
            .append("ruleType", getRuleType())
            .append("firstCondition", getFirstCondition())
            .append("conditionJudge", getConditionJudge())
            .append("secondCondition", getSecondCondition())
            .append("cyclicalPattern", getCyclicalPattern())
            .append("modified", getModified())
            .append("assesScore", getAssesScore())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
